﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OFB.DAL;
using OFB.BLL.ViewModel;
using OFB.Domain;

namespace OFB.BLL.Context
{
    public class CourseSubjectContext: CommonContext
    {
        public DataQueryDAL<CourseSubjectViewModel> CourseSubject { get; set; }
        public DataQueryDAL<Subject> Subject { get; set; }
        public DataQueryDAL<Course> Course { get; set; }

        public CourseSubjectContext()
        {
            CourseSubject = new DataQueryDAL<CourseSubjectViewModel>(this.connectionStringName);
            Subject = new DataQueryDAL<Subject>(this.connectionStringName);
            Course = new DataQueryDAL<Course>(this.connectionStringName);
        }
    }
}
